
var ds = {
    dataSource: {
        type: "com.alibaba.druid.pool.DruidDataSource",
        events: {
            depose: 'close'
        },
        fields: {
            // 请修改下面的数据库连接信息
//            url: 'jdbc:beyondb://192.168.1.25:II7/cityeast;auto=multi',
//            driverClass: 'com.beyondb.jdbc.BeyondbDriver',
//            username: 'beyondb',
//            password: '123456',
            
            url: 'jdbc:postgresql://localhost:5432/datacms',
            driverClass: 'org.postgresql.Driver',
            username: 'postgres',
            password: '123456',
            maxActive: 5,
            validationQuery: "SELECT 'x'",
            testWhileIdle: true,
            testOnBorrow: false,
            testOnReturn: false
        }
    },
    dao: {
        type: 'org.nutz.dao.impl.NutDao',
        args: [{
                refer: 'dataSource'
            }]
    }
};